package indi.jp.project.center.service;

import indi.jp.project.center.entity.Task;
import indi.jp.project.core.entity.Datagrid;

import java.sql.SQLException;

public interface TaskService {

    Datagrid<Task> queryGrid(Task entity) throws SQLException;

//    int generateTask(Task entity) throws SQLException;

    int completeTask(String taskId, String taskHandler) throws SQLException;

    void generateTask(Task task) throws SQLException;

    void deleteByTaskId(String taskId) throws Exception;
}
